import request from '@/utils/request'

/**
 * 获取巡视点位
 * @param params
 */
export const loadPoint = async (params: {
  jobName: string
  deviceName: string
}) => {
  return await request.get('/patrolJobUavResult/loadPatrolPointList', {
    params
  })
}

/**
 * 获取巡视任务
 * @param params
 */
export const loadResult = async (params: {
  jobId: number | string
  patrolPointName: string
}) => {
  return await request.get('/patrolJobUavResult/loadPatrolJobUavSeqResult', {
    params
  })
}
